home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group95b.txt
/
000105_icon-group-sender _Thu Jul 27 07:29:09 1995.msg
< prev
next >
Wrap
Internet Message Format
|
1995-09-18
|
2KB
Received: by cheltenham.cs.arizona.edu; Thu, 27 Jul 1995 12:35:53 MST
To: icon-group@cs.arizona.edu
Date: 27 Jul 1995 07:29:09 GMT
From: "Le Baron O. Ferguson" <ferguson@math.ucr.edu>
Message-Id: <3v7f85$l1a@galaxy.ucr.edu>
Organization: University of California, Riverside
Sender: icon-group-request@cs.arizona.edu
Subject: snobol4 question
Errors-To: icon-group-errors@cs.arizona.edu
First I thank all the nice people who responded to my query about the demise
of snobol and offered to answer my question. I am glad it is not dead and
this is the proper forum for it.
My problem is that I am using snobol4 to send control codes (among other things)
to a printer. I assign to the variable OUTPUT. The output of the program
is directed to the printer by /o=lpt2: on the command line. The problem is
that the assignment to OUTPUT causes a newline to also be sent. I can program
around this but it is aukward. In PASCAL we have WRITELN and WRITE, and the
latter does not append a newline automatically. In C, printf simply does not
send a newline unless you tell it to do so. Is there a corresponding mechanism
in snobol4?
I hope I am not wasting anyone's time. I looked for this in the "green" book
and also the extensive documentation with snobol4. If there is a FAC I should
read please just point me in its direction.
Tnanks in advance.
--
============================================================================
Professor Le Baron O. Ferguson Office: Sproul 2219
Department of Mathematics (909) 787-5003
University of California ferguson@math.ucr.edu
Riverside CA 92521 FAX : (909) 787-7314
The greatest failing of the human race is its inability to understand
the exponential function. Anonymous.
============================================================================